#ifndef MYTYPES_H
#define MYTYPES_H

/* for windows users? */
typedef unsigned char  u8;
typedef unsigned short u16;
typedef unsigned int  u32;


typedef signed char  s8;
typedef signed short s16;
typedef signed long  s32;

typedef u16 uint16_t;
typedef u8 uint8_t;


#ifndef TRUE
	#define TRUE  (1)
#endif

#ifndef FALSE
	#define FALSE (0)
#endif



#define DEBUG_YES  

#ifdef	DEBUG_YES
//#define my_printf(...) {taskENTER_CRITICAL();printf("[TOSPO INFO]:"__VA_ARGS__);taskEXIT_CRITICAL();}

#define my_printf(...) {taskENTER_CRITICAL();printf("[TOSPO INFO]FileName==%s FunName==%s LineNum==%d\r\n",__FILE__, __FUNCTION__,__LINE__);printf("[TOSPO INFO]:"__VA_ARGS__);taskEXIT_CRITICAL();}


//printf("%s:%d %s: " FORMAT, __FILE__, __LINE__, __FUNCTION__, ##ARG)


#else
	#define my_printf(...) ((void)0)
#endif

//Program Size: Code=9296 RO-data=440 RW-data=152 ZI-data=9496  
//Program Size: Code=9684 RO-data=452 RW-data=152 ZI-data=9496  

#endif 






